package com.ahwei.user.api.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author ahWei
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description="User对象")
public class UserDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "用户id")
    private Long id;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "手机号")
    private String telephone;

    @Schema(description = "像片")
    private String photo;

    @Schema(description = "生日")
    private LocalDateTime birthday;

}